package constants

// 订单状态
func GetOrderStatus() []map[string]interface{} {
	// 订单状态：-5-已关闭，-4-已删除，-3-已部分退款，-2-已退款，-1-已取消，
	// 0-待付款，1-已付款，2-待发货，3-已发货，4-已揽件，5-派件中，6-待评价，7-已完成，8-退款中
	return []map[string]interface{}{
		map[string]interface{}{
			"value":     0,
			"value_txt": "待付款",
			"icon_name": "icon-daifukuan",
		},
		map[string]interface{}{
			"value":     1,
			"value_txt": "已付款",
			"icon_name": "icon-yifukuan",
		},
		map[string]interface{}{
			"value":     2,
			"value_txt": "待发货",
			"icon_name": "icon-daifahuo",
		},
		map[string]interface{}{
			"value":     3,
			"value_txt": "已发货",
			"icon_name": "icon-yifahuo",
		},
		map[string]interface{}{
			"value":     4,
			"value_txt": "已揽件",
			"icon_name": "icon-yilanjian",
		},
		map[string]interface{}{
			"value":     5,
			"value_txt": "派件中",
			"icon_name": "icon-paijianzhong",
		},
		map[string]interface{}{
			"value":     6,
			"value_txt": "待评价",
			"icon_name": "icon-daipingjia",
		},
		map[string]interface{}{
			"value":     7,
			"value_txt": "已完成",
			"icon_name": "icon-yiwancheng",
		},
		map[string]interface{}{
			"value":     8,
			"value_txt": "退款中",
			"icon_name": "icon-tuikuanzhong",
		},
		map[string]interface{}{
			"value":     -1,
			"value_txt": "已取消",
			"icon_name": "icon-yiquxiao",
		},
		map[string]interface{}{
			"value":     -2,
			"value_txt": "已退款",
			"icon_name": "icon-yituikuan",
		},
		map[string]interface{}{
			"value":     -3,
			"value_txt": "已部分退款",
			"icon_name": "icon-bufentuikuan",
		},
		map[string]interface{}{
			"value":     -5,
			"value_txt": "已关闭",
			"icon_name": "icon-yiguanbi",
		},
	}
}
